home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 21
/
Cream of the Crop 21 (Terry Blount) (October 1996).iso
/
editor
/
wf314.zip
/
WF311DOC.ZIP
/
DOCS
/
WF.006
< prev
next >
Wrap
Text File
|
1992-01-31
|
23KB
|
576 lines
.f3 - # - Chapter 6 - Working With Blocks
.rm70
.tc
.tc1
.tc 6. WORKING WITH BLOCKS ................................#
CHAPTER 6 WORKING WITH BLOCKS
.ixMoving;Moving blocks of Text - see Blocks
.imBlocks
A block of text is an area that starts with a Begin Block marker, and
terminates with an End Block marker. Normally, all text from the
Beginning going left to right and down the file is included up to the
end block marker. However, if Column Mode is set, then the block
markers also set column boundaries, and only text within those columns
is included.
.tc Mark a Block of Text ...............................#
Mark a Block of Text
.ix Mark block (^KB & ^KK)
1. Place the cursor at the beginning of the block.
2. Press the block begin keys: Ctrl K B or F7.
3. Move the cursor to the end of the block. Press the Block end
sequence: Ctrl K K or F8. The block will be highlighted in
complementary colours.
Font Display
If Font display is OFF, then the cursor column position is where the
block marker is set. If Font Display is ON, then if the cursor is
positioned just after a font marker, the beginning block will be moved
left until the character prior to the block marker is not a font
character. Conversely, if the End block marker is positioned before a
font display character, the End block marker will be moved right until
it is positioned over a non font character. This is to ensure that
font characters are included in blocks when they are marked if font
display is ON.
Columns Included
The column the cursor resides in is included in the beginning of
block, but is excluded from the end of block. If column mode is OFF,
then all text between the Beginning and the End markers is included.
When column mode is ON (the status line will show Tbl I or Tbl R) the
text must be within the columns delimited by the beginning and end
markers.
.Tc Hide a Block .......................................#
Hide a Block
.ix Turn of Marking (^KH)
Once a block is marked, it can be hidden from view. When it is hidden,
it is treated as if it had never been marked, except that if you enter
the Hide block command a second time without changing the block
markers, then the hidden block will be revealed again.
To hide a block press Ctrl K H
.tc Columns ............................................#
Columns
.ix Column Blocks
When column mode is active, blocks of text are delineated by columns.
There are 2 types of column mode: Column Mode and Column Replace Mode,
and they affect the way in which blocks of text are moved and copied.
Column Mode
.ixColumns; Column Blocks
To toggle column mode, enter Ctrl K N. If column mode is OFF, it will
be turned ON, and vice versa. Column mode determines that blocks mark
columns of text, and with word wrap, that words wrap within columns.
The status line will display either Tbl I or Tbl R, depending upon
whether Column Replace is also on.
Column Replace Mode
.ixColumns; Column Replace (^KI)
.ixColumns; Column Mode (^KN)
To toggle column replace mode, enter Ctrl K I. If column replace is
OFF, it will be turned ON, and vice versa. However, it will have no
effect unless column mode is also on.
When column mode is ON and column replace is OFF, columns of text
displace any text on lines they are moved (or copied) into, and lines
they are moved (or deleted) from have their text moved left to fill in
the gap.
When column mode is ON and column replace is ON, columns of text
overwrite text on lines into which they are moved (or copied), and
lines they are moved (or deleted) from have the text replaced by
spaces.
This is covered in more detail in Move, Copy and Delete below.
.Tc Moving a Block .....................................#
Moving a Block
.ix Moving (^KV)
To move a block of text within a file:
1. Mark the block of text with Ctrl K B and Ctrl K K.
2. Move the cursor to the new location for the block.
3. Press Ctrl K V and the text is moved.
4. Press Ctrl K H to unmark the block.
If Column mode is OFF, then the moved text will be inserted where the
cursor is, regardless of the setting of INS. The text to the right of
the cursor will be pushed right, and if the block consists of more
than one line, additional lines will be inserted. To move a complete
line, go to column one and mark the beginning, and then go down one
line and mark the end in column one as well. The text is deleted from
its original position in a move. If the moved text is all in one line,
then no gap will remain after the text is moved.
In the examples below, the marked text is underlined. The cursor is
shown by a single underline character _
No Columns{.╬}
(i) Partial line.
Friends, Romans and countrymen, lend me your ears.
Now is the time
becomes
Friends, Re your ears.
Now iomans and countrymen, lend ms the time
.cp7
(ii) Multiple lines
'Twas brillig and the slythy toves
did gyre and gymbol in the gabe.
All mimsey were the borogoves,
_ and mome raths outgabe.
becomes
All mimsey were the borogoves,
'Twas brillig and the slythy toves
did gyre and gymbol in the gabe.
_ and mome raths outgabe.
Column Mode
.ix Moving Columns
If Column Mode is ON, and Column Replace mode is OFF, (the status line
shows Tbl I) then the moved text pushes text on the line to the right
for each line that has text moved to it. The source text is deleted,
and the text on the line flows left to fill in any gaps:
Example
This is the date that the decision was made not to pursue
the assessment, or the date on which the decision was made
not to offer a program, or the date on which the Assessment
deliverables (eg rehabilitation plan or assessment report)
were produced. If not filled in, when the client proceeds to
the Program Details screen, it will default to the start
date from the first current objective.
becomes
Thie that the decision was s is the datmade not to pursue
the or the date on which th assessment,e decision was made
notprogram, or the date on to offer a which the Assessment
delg rehabilitation plan oriverables (e assessment report)
werIf not filled in, when te produced. he client proceeds to
the Program Details screen, it will default to the start
date from the first current objective.
which does not make a lot of sense for text, but serves to illustrate
what happens.
.cp15
Column Replace
.ix Moving Columns
If Column Mode is ON, and Column Replace mode is ON, (the status line
shows Tbl R) then the moved text overwrites text on the line to the right
for each line that has text moved to it. The source text is deleted,
and the text on the line replaced by spaces.
.cp10
Example
This is the date that the decision was made not to pursue
the assessment, or the date on which the decision was made
not to offer a program, or the date on which the Assessment
deliverables (eg rehabilitation plan or assessment report)
were produced. If not filled in, when the client proceeds to
the Program Details screen, it will default to the start
date from the first current objective.
becomes
Thie that the decision was made not to pursue
the or the date on which th e decision was made
notprogram, or the date on which the Assessment
delg rehabilitation plan or assessment report)
werIf not filled in, when t he client proceeds to
the Program Details screen, it will default to the start
date from t